//
//  commondef.h
//  garbageclient
//
//  Created by Wang Wu on 11-8-10.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//
//popview return type
typedef enum PopBtnType
{
    GARBAGE_PBT,
    POPULAR_PBT,
    NEW_PBT,
    CANCEL_PBT,
}POPBTNTP;

//NavigationBar height
#define     NAV_HEIGHT          32.0f
//SearchBar height
#define     SEARCHBAR_HEIGHT    48.0f
//Btn height width
#define     BTN_HEIGHT          60.0
#define     BTN_WIDTH           80.0

typedef enum DetailsBackType
{
    MAIN_DBTP,
    SEARCH_DBTP,
    COMMENT_DBTP,
    NULL_DBTP,
}DBTP;

typedef enum ViewType
{
    MAIN_VTP,
    POPSORT_VTP,
    DETAILS_VTP,
    COMMENT_VTP,
    SEARCH_VTP,
    INFO_VTP,
    INFOEDIT_VTP,
    SET_VTP,
    LOGIN_VTP,
}VIEWTP;

//tableviewcall height
#define TVC_HEIGHT          60.0

typedef enum FitFrame
{
    FULL_FF,
    NOMAL_FF,
}FITFRAME;

//filename
#define kFilename        @"user.plist"
#define kDataKey         @"UserData"